package com.shum1n.gmall.service;


import com.shum1n.gmall.bean.UserAddress;

import java.util.Arrays;
import java.util.List;


public class UserServiceImpl_v implements UserService {


    @Override
    public List<UserAddress> getUserAddressList(String userId){

        System.out.println("UserServiceImpl：new。。。。。");
        UserAddress userAddress1 = new UserAddress("福建","1");
        UserAddress userAddress2 = new UserAddress("广东","1");
        try {
            Thread.sleep(4000);
        } catch (InterruptedException e) {
            e.printStackTrace();
        }
        return  Arrays.asList(userAddress1,userAddress2);
    }

}
